﻿using System;
using System.Collections.Generic;

namespace Sdari.Api.Services
{
    public interface ITokenService
    {
        (Guid token, int? expire)? GetToken(string clientId, string secret);
        bool VerifyToken(Guid token, string apiAdress, byte[] ipAdress);
        bool WhiteListCheck(string apiAdress, IList<(string val, string type)> whiteList, byte[] ip);
    }
}
